﻿<%@ include file="/WEB-INF/controllers/configuration/includes.jsp"%>
<ul  id="lvl2menu">
	<c:if test="${sessionScope.SPRING_SECURITY_CONTEXT.authentication!=null}">		
	<sec:authorize ifAnyGranted="ROLE_GestorSistema">
			<li>
				<a id="menuGestionInbox" href="<c:url value="/privado/inboxAdmin.do"/>">Bandeja de Entrada</a>
			</li>
			<li>
				<a id="menuGestionCompose" href="<c:url value="/privado/composeAdmin.do"/>">Redactar</a>
			</li>
			<li>
				<a id="menuGestionTemplate" href="<c:url value="/privado/templateAdmin.do"/>">Plantillas</a>
			</li>
			<li>
				<a id="menuGestionAdvice" href="<c:url value="/privado/adviceAdmin.do"/>">Avisos</a>
			</li>
		</sec:authorize>
		<sec:authorize  ifNotGranted="ROLE_GestorSistema">
			<li>
				<a id="menuGestionInbox" href="<c:url value="/privado/inboxUser.do"/>">Bandeja de Entrada</a>
			</li>
			<li>
				<a id="menuGestionCompose" href="<c:url value="/privado/composeUser.do"/>">Redactar</a>
			</li>
		</sec:authorize>
	</c:if>
</ul>